package com.gccloud.design.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gccloud.design.common.SdApiDefineComm;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author wu.yumin
 * @version 1.0.0
 * @Description API entity
 * @date 2021/6/10 20:06
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("SD_API_DEFINE")
@ApiModel("API定义")
public class SdApiDefineVo extends SdApiDefineComm {

    private static final long serialVersionUID = -575581732631774682L;

    @ApiModelProperty("调用超时时间")
    private Integer callTimeOut;

    @ApiModelProperty("重试间隔")
    private Integer tryInterval;

    @ApiModelProperty("是否重试0是、1否")
    private String isTry;

    @ApiModelProperty("重试次数")
    private Integer tryCount;

    @ApiModelProperty("模拟入参")
    private String mockInparam;

    @ApiModelProperty("入/出参模板")
    private String paramTemplate;

    @ApiModelProperty("入/出参解析脚本模板")
    private String paramAnalyzeTemplate;

    @ApiModelProperty("数据格式，1：xml、2：json、3：form")
    private String dataFormat;

    @ApiModelProperty("环节名称")
    private String bwpRepoName;

    @ApiModelProperty("交互模式")
    private String interactionMode;
}
